package com.item.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.item.entity.Item;
import com.item.mapper.ItemMapper;
import com.item.service.IItemService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lzx
 * @since 2022-01-15
 */
@Service
@SuppressWarnings("all")
public class ItemServiceImpl extends ServiceImpl<ItemMapper, Item> implements IItemService {

    @Override
    public List<Item> findAll() {   //
        List<Item> itemList=baseMapper.selectList(null);
        return itemList;
    }
}
